package com.ruoyi.web.controller.xcx;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.ADictShops;
import com.ruoyi.system.service.IADictShopsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;


/**
 * 字典商铺字段Controller
 *
 * @author gf
 * @date 2024-11-23
 */
@RestController
@RequestMapping("/xcx/aDictShops")
public class XcxADictShops extends BaseController {

    @Autowired
    private IADictShopsService aDictShopsService;

    @GetMapping("/list")
    public AjaxResult list() {
        return success(aDictShopsService.selectADictShopsXcxList());
    }

    @GetMapping("/nickNameList")
    public AjaxResult nickNameList() {
        return success(aDictShopsService.selectADictShopsXcxNickNameList());
    }

}
